#include "head.h"
void puts_t(int sockfd, char *buf){
    // v1.0 buf为命令后的所有字符串
    // v2.0 buf文件的绝对
    /* int count = 0; */
    /* char *word[10]; */
    /* buf[strcspn(buf,"\n")] = '\0'; */
    /* char *token = strtok(buf," "); */
    /* while(token != NULL && count < 10){ */
    /*     word[count] = token; */
    /*     ++count; */
    /*     token = strtok(NULL," "); */
    /* } */
    //transFile(sockfd, word[1]);
    //v1.0 transFile(sockfd, word[count - 1]);
    transFile(sockfd, buf);
}
